package com.starmark.common.response;

/**
 * 成功返回信息
 *
 * @author starmark
 * <p>
 * 2016年12月25日
 */
public class SuccessResponse extends Response {

    public SuccessResponse(String msg) {
        super(HttpCode.OK, msg);
    }

    public SuccessResponse() {
        super(HttpCode.OK);
    }

    public static SuccessResponse newInstance() {
        return new SuccessResponse();
    }

    public static SuccessResponse newInstance(String msg) {
        return new SuccessResponse(msg);
    }
}